package com.szz;

import com.szz.demo.component.NumberComponent;
import com.szz.demo.enums.EnumType;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author 孙中正
 * @date 2024/5/11 14:08
 */
@SpringBootTest
public class DemoTest1 {

    @Autowired
    private NumberComponent numberComponent;

    @Test
    public  void main(String[] args) {
        System.out.println(numberComponent.select(EnumType.A, "aa"));
        System.out.println(numberComponent.select(EnumType.B, "aa"));

    }

}
